/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package issr.controller;

import issr.entity.Log;
import issr.persistence.Database;
import issr.persistence.ILog;
import java.util.ArrayList;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.ejb.Stateless;

/**
 *
 * @author Soulreaver
 */
@WebService(serviceName = "ControlloreLogAmministratoreG")
@Stateless()
public class ControlloreLogAmministratoreG {

    private ILog db = Database.getInstance();
    
    /**
     * Web service operation
     */
    @WebMethod(operationName = "ottieniInteroLog")
    public ArrayList<Log> ottieniInteroLog() {
        return db.caricaInteroLog();
    }
}
